package cn.tedu.demo2_mybatis.dao;

import cn.tedu.demo2_mybatis.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface DeptMapper {
    List<Dept> getByLoc(String loc);

    Integer updateDnameById(Integer id,@Param("setid")Integer dname);

    Integer deleteById(Integer id);

    Integer insert();
}
